package edu.fdzc.system.service;

import com.github.pagehelper.PageInfo;
import edu.fdzc.system.entity.Question;

import java.util.List;

public interface QuestionService {
    void add(Question question);

    void updateById(Question question);

    void deleteById(Integer id);

    void deleteBatch(List<Integer> ids);

    Question selectById(Integer id);

    List<Question> selectAll(Question question);

    PageInfo<Question> selectPage(Question question, Integer pageNum, Integer pageSize);
}
